﻿using Se.Model.GameModel.Character;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SeServer.Module
{
    /// <summary>
    /// 模块基类
    /// </summary>
    public abstract class ModuleControllerBase
    {

        public ModuleControllerBase(ControllerType type) { this.ControllerType = type; }

        public ControllerType ControllerType;

        /// <summary>
        /// 模块加载
        /// </summary>
        public abstract void InitModule();

        /// <summary>
        /// 加载配置数据
        /// </summary>
        public abstract void LoadTemplates();

        /// <summary>
        /// 加载模块常驻内存数据
        /// </summary>
        public abstract void LoadMemoryData();

        /// <summary>
        /// 玩家数据加载
        /// </summary>
        public abstract void LoadPlayerData(Player player);

    }
}
